package com.deep.deepenterpise.dao;

import com.deep.deepenterpise.model.entity.DrDangerHistoryItem;
import com.deep.deepenterpise.model.vo.unit.DrDangerItemVo;

import java.util.List;

/**
 * @author xyz
 * @description 针对表【dr_danger_history_item(DR隐患关联表)】的数据库操作Mapper
 * @createDate 2024-06-23 08:33:52
 * @Entity com.deep.deepenterpise.model.entity.DrDangerHistoryItem
 */
public interface DrDangerHistoryItemMapper {

    void insert(DrDangerHistoryItem dangerHistoryItem);

    List<DrDangerItemVo> findByDrDangerSlaveNum(String drDangerSlaveNum);

    void updateDrDangerSlaveNumByDrDangerSlaveNumAndDrStatus(String drOldDangerSlaveNum,
                                                             String drNewDangerSlaveNum,
                                                             Integer drStatus);

    List<DrDangerItemVo> findByDrSynDangerVoDrDangerSlaveNum(String drDangerSlaveNum);
}




